package com.example.mybatisplus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.mybatisplus.model.domain.WhitelistSetting;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplus.model.dto.PageDTO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxp
 * @since 2024-07-10
 */
public interface WhitelistSettingService extends IService<WhitelistSetting> {

    WhitelistSetting login(WhitelistSetting whitelistSetting);

    Page<WhitelistSetting> pageList(WhitelistSetting whitelistSetting, PageDTO dto);

    void exportUser(HttpServletResponse response);

    void importUser(MultipartFile file) throws IOException;
}
